<ion-view view-title="开户">
    <ion-nav-buttons side="left">
        <back-button></back-button>
    </ion-nav-buttons>
    <ion-content ng-class="{'has-loading': isOffline}">
        <div ng-show="openTA.status==0">
            <div class="stable-border light-bg padding Mt15"
                 ng-switch="account.accountType">
                <p class="padding-left Mt10">
                    您开通的是：
                </p>

                <p ng-switch-when="1"
                   class="padding-left ytext-indent Mb5 Mt10">
                    沪市TA(基金)账户
                </p>

                <p ng-switch-when="2"
                   class="padding-left ytext-indent Mb5 Mt10">
                    深市TA(基金)账户
                </p>
            </div>
            <div class="padding Mt10">
                <label class="checkbox yCheckBox">
                    <input type="checkbox"
                           ng-model="account.checked"
                           ng-checked="account.checked"/>
                </label>
                我已阅读并同意签署《
                <a href="#/tab/account-agreementlist"
                   class="positive">
                    天风证券网上开户协议
                </a>
                》协议
            </div>
            <div class="btnbox Mt5">
                <button class="button btn button-full"
                        ng-click="submit()"
                        ng-disabled="!account.checked">
                    <span class="fs1 light">
                       提交
                    </span>
                </button>
            </div>
        </div>
        <div class="item item-icon-left item-text-wrap Mt15"
             ng-show="openTA.status>0">
            <div class="Mt15 Mb15">
                <i ng-class="{'icon ion-close-circled assertive':openAccount.status==5,'icon ion-checkmark-circled balanced':openTA.status==1,'icon ion-information-circled calm':openTA.status==9}"></i>
                <label ng-bind="openTA.subtext"></label>
            </div>
        </div>
    </ion-content>
</ion-view>